package com.bootdo.provider.dao;

import com.bootdo.provider.domain.ProviderInfoDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 供应商表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-20 11:24:50
 */
@Mapper
public interface ProviderInfoDao {

	ProviderInfoDO get(Long providerId);
	
	List<ProviderInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProviderInfoDO providerInfo);
	
	int update(ProviderInfoDO providerInfo);
	
	int remove(Long provider_id);
	
	int batchRemove(Long[] providerIds);
}
